﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace SanctusSoftware.Logging.WinForms
{
    public partial class ErrorTransmissionDetailsForm : Form
    {
        public ErrorTransmissionDetailsForm(string errorInformation, Image screenCapture)
        {
            InitializeComponent();

            errorInformationTextEditor.Text = errorInformation;

            if (screenCapture != null)
            {
                screenCapturePictureBox.Image = screenCapture;
            }
        }

        private void closeButton_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
